from hashlib import md5

def compute_path_md5(path: str) -> str:
    hash_md5 = md5()
    hash_md5.update(path.encode('utf-8'))
    return hash_md5.hexdigest()
